package com.lancoo.znbkxx.teacher.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.lancoo.znbkxx.teacher.model.data.ImportKlg
import com.lancoo.znbkxx.teacher.model.data.Know
import kotlinx.android.synthetic.main.item_knowledge.view.*

/**
 * @author : wealive
 * @date   : 2020/3/18 10:13
 * @desc   :
 */
class KnowledgeListAdapter(layoutResId: Int, data: MutableList<ImportKlg>) :
    BaseQuickAdapter<ImportKlg, BaseViewHolder>(layoutResId, data) {
    override fun convert(helper: BaseViewHolder, item: ImportKlg?) {
        with(helper.itemView){
            tv_zsd.text=item?.Name
        }
    }
}